package com.example.lvsuo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;

/**
 * <p>
 * 案件信息
 * </p>
 *
 * @author 心心念念
 * @since 2021-03-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Jc implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @NotNull
    private Integer caseid;

    /**
     * 承办人
     */
    @Pattern(regexp ="^[\\u4e00-\\u9fa5]{2,4}$", message = "姓名为2-4字！")
    private String cbr;

    /**
     * 电话
     */
    @Pattern(regexp ="^1([358][0-9]|4[579]|66|7[0135678]|9[89])[0-9]{8}$", message = "请输入有效电话！")
    private String tel;

    /**
     * 办案机关
     */
    private String bnjg;

    /**
     * 起诉时间始
     */
    private String qssjb;

    /**
     * 起诉时间止
     */
    private String qssje;

    /**
     * 备注
     */
    private String remark;

    /**
     * 提交时间
     */
    private String subtime;

    /**
     * 提交人
     */
    private String uname;


}
